3.268 \(\int \frac{A+B x+C x^2}{\sqrt{d+e x} \sqrt{a+b x+c x^2}} \, dx\)
Optimal. Leaf size=471 \[ \frac{2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}} \left (C e (b d-a e)+c \left (2 C d^2-3 e (B d-A e)\right )\right ) \text{EllipticF}\left (\sin ^{-1}\left (\frac{\sqrt{\frac{\sqrt{b^2-4 a c}+b+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right ),-\frac{2 e \sqrt{b^2-4 a c}}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}\right )}{3 c^2 e^2 \sqrt{d+e x} \sqrt{a+b x+c x^2}}-\frac{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} (2 b C e-3 B c e+2 c C d) E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt{a+b x+c x^2} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}}+\frac{2 C \sqrt{d+e x} \sqrt{a+b x+c x^2}}{3 c e} \]
[Out]
(2*C*Sqrt[d + e*x]*Sqrt[a + b*x + c*x^2])/(3*c*e) - (Sqrt[2]*Sqrt[b^2 - 4*a*c]*(2*c*C*d - 3*B*c*e + 2*b*C*e)*S
qrt[d + e*x]*Sqrt[-((c*(a + b*x + c*x^2))/(b^2 - 4*a*c))]*EllipticE[ArcSin[Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x
)/Sqrt[b^2 - 4*a*c]]/Sqrt[2]], (-2*Sqrt[b^2 - 4*a*c]*e)/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)])/(3*c^2*e^2*Sqrt[
(c*(d + e*x))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)]*Sqrt[a + b*x + c*x^2]) + (2*Sqrt[2]*Sqrt[b^2 - 4*a*c]*(C*e*
(b*d - a*e) + c*(2*C*d^2 - 3*e*(B*d - A*e)))*Sqrt[(c*(d + e*x))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)]*Sqrt[-((c
*(a + b*x + c*x^2))/(b^2 - 4*a*c))]*EllipticF[ArcSin[Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x)/Sqrt[b^2 - 4*a*c]]/S
qrt[2]], (-2*Sqrt[b^2 - 4*a*c]*e)/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)])/(3*c^2*e^2*Sqrt[d + e*x]*Sqrt[a + b*x
+ c*x^2])
________________________________________________________________________________________
Rubi [A] time = 0.481855, antiderivative size = 470, normalized size of antiderivative = 1.,
number of steps used = 6, number of rules used = 5, integrand size = 34, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.147, Rules used =
{1653, 843, 718, 424, 419} \[ \frac{2 \sqrt{2} \sqrt{b^2-4 a c} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}} \left (C e (b d-a e)-3 c e (B d-A e)+2 c C d^2\right ) F\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt{d+e x} \sqrt{a+b x+c x^2}}-\frac{\sqrt{2} \sqrt{b^2-4 a c} \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} (2 b C e-3 B c e+2 c C d) E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+2 c x+\sqrt{b^2-4 a c}}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt{a+b x+c x^2} \sqrt{\frac{c (d+e x)}{2 c d-e \left (\sqrt{b^2-4 a c}+b\right )}}}+\frac{2 C \sqrt{d+e x} \sqrt{a+b x+c x^2}}{3 c e} \]
Antiderivative was successfully verified.
[In]
Int[(A + B*x + C*x^2)/(Sqrt[d + e*x]*Sqrt[a + b*x + c*x^2]),x]
[Out]
(2*C*Sqrt[d + e*x]*Sqrt[a + b*x + c*x^2])/(3*c*e) - (Sqrt[2]*Sqrt[b^2 - 4*a*c]*(2*c*C*d - 3*B*c*e + 2*b*C*e)*S
qrt[d + e*x]*Sqrt[-((c*(a + b*x + c*x^2))/(b^2 - 4*a*c))]*EllipticE[ArcSin[Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x
)/Sqrt[b^2 - 4*a*c]]/Sqrt[2]], (-2*Sqrt[b^2 - 4*a*c]*e)/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)])/(3*c^2*e^2*Sqrt[
(c*(d + e*x))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)]*Sqrt[a + b*x + c*x^2]) + (2*Sqrt[2]*Sqrt[b^2 - 4*a*c]*(2*c*
C*d^2 + C*e*(b*d - a*e) - 3*c*e*(B*d - A*e))*Sqrt[(c*(d + e*x))/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)]*Sqrt[-((c
*(a + b*x + c*x^2))/(b^2 - 4*a*c))]*EllipticF[ArcSin[Sqrt[(b + Sqrt[b^2 - 4*a*c] + 2*c*x)/Sqrt[b^2 - 4*a*c]]/S
qrt[2]], (-2*Sqrt[b^2 - 4*a*c]*e)/(2*c*d - (b + Sqrt[b^2 - 4*a*c])*e)])/(3*c^2*e^2*Sqrt[d + e*x]*Sqrt[a + b*x
+ c*x^2])
Rule 1653
Int[(Pq_)*((d_.) + (e_.)*(x_))^(m_.)*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_), x_Symbol] :> With[{q = Expon[Pq
, x], f = Coeff[Pq, x, Expon[Pq, x]]}, Simp[(f*(d + e*x)^(m + q - 1)*(a + b*x + c*x^2)^(p + 1))/(c*e^(q - 1)*(
m + q + 2*p + 1)), x] + Dist[1/(c*e^q*(m + q + 2*p + 1)), Int[(d + e*x)^m*(a + b*x + c*x^2)^p*ExpandToSum[c*e^
q*(m + q + 2*p + 1)*Pq - c*f*(m + q + 2*p + 1)*(d + e*x)^q - f*(d + e*x)^(q - 2)*(b*d*e*(p + 1) + a*e^2*(m + q
- 1) - c*d^2*(m + q + 2*p + 1) - e*(2*c*d - b*e)*(m + q + p)*x), x], x], x] /; GtQ[q, 1] && NeQ[m + q + 2*p +
1, 0]] /; FreeQ[{a, b, c, d, e, m, p}, x] && PolyQ[Pq, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2
, 0] && !(IGtQ[m, 0] && RationalQ[a, b, c, d, e] && (IntegerQ[p] || ILtQ[p + 1/2, 0]))
Rule 843
Int[((d_.) + (e_.)*(x_))^(m_)*((f_.) + (g_.)*(x_))*((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(p_.), x_Symbol] :> Dis
t[g/e, Int[(d + e*x)^(m + 1)*(a + b*x + c*x^2)^p, x], x] + Dist[(e*f - d*g)/e, Int[(d + e*x)^m*(a + b*x + c*x^
2)^p, x], x] /; FreeQ[{a, b, c, d, e, f, g, m, p}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0]
&& !IGtQ[m, 0]
Rule 718
Int[((d_.) + (e_.)*(x_))^(m_)/Sqrt[(a_.) + (b_.)*(x_) + (c_.)*(x_)^2], x_Symbol] :> Dist[(2*Rt[b^2 - 4*a*c, 2]
*(d + e*x)^m*Sqrt[-((c*(a + b*x + c*x^2))/(b^2 - 4*a*c))])/(c*Sqrt[a + b*x + c*x^2]*((2*c*(d + e*x))/(2*c*d -
b*e - e*Rt[b^2 - 4*a*c, 2]))^m), Subst[Int[(1 + (2*e*Rt[b^2 - 4*a*c, 2]*x^2)/(2*c*d - b*e - e*Rt[b^2 - 4*a*c,
2]))^m/Sqrt[1 - x^2], x], x, Sqrt[(b + Rt[b^2 - 4*a*c, 2] + 2*c*x)/(2*Rt[b^2 - 4*a*c, 2])]], x] /; FreeQ[{a, b
, c, d, e}, x] && NeQ[b^2 - 4*a*c, 0] && NeQ[c*d^2 - b*d*e + a*e^2, 0] && NeQ[2*c*d - b*e, 0] && EqQ[m^2, 1/4]
Rule 424
Int[Sqrt[(a_) + (b_.)*(x_)^2]/Sqrt[(c_) + (d_.)*(x_)^2], x_Symbol] :> Simp[(Sqrt[a]*EllipticE[ArcSin[Rt[-(d/c)
, 2]*x], (b*c)/(a*d)])/(Sqrt[c]*Rt[-(d/c), 2]), x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] && GtQ[
a, 0]
Rule 419
Int[1/(Sqrt[(a_) + (b_.)*(x_)^2]*Sqrt[(c_) + (d_.)*(x_)^2]), x_Symbol] :> Simp[(1*EllipticF[ArcSin[Rt[-(d/c),
2]*x], (b*c)/(a*d)])/(Sqrt[a]*Sqrt[c]*Rt[-(d/c), 2]), x] /; FreeQ[{a, b, c, d}, x] && NegQ[d/c] && GtQ[c, 0] &
& GtQ[a, 0] && !(NegQ[b/a] && SimplerSqrtQ[-(b/a), -(d/c)])
Rubi steps
\begin{align*} \int \frac{A+B x+C x^2}{\sqrt{d+e x} \sqrt{a+b x+c x^2}} \, dx &=\frac{2 C \sqrt{d+e x} \sqrt{a+b x+c x^2}}{3 c e}+\frac{2 \int \frac{-\frac{1}{2} e (b C d-3 A c e+a C e)-\frac{1}{2} e (2 c C d-3 B c e+2 b C e) x}{\sqrt{d+e x} \sqrt{a+b x+c x^2}} \, dx}{3 c e^2}\\ &=\frac{2 C \sqrt{d+e x} \sqrt{a+b x+c x^2}}{3 c e}-\frac{(2 c C d-3 B c e+2 b C e) \int \frac{\sqrt{d+e x}}{\sqrt{a+b x+c x^2}} \, dx}{3 c e^2}+\frac{\left (2 c C d^2+C e (b d-a e)-3 c e (B d-A e)\right ) \int \frac{1}{\sqrt{d+e x} \sqrt{a+b x+c x^2}} \, dx}{3 c e^2}\\ &=\frac{2 C \sqrt{d+e x} \sqrt{a+b x+c x^2}}{3 c e}-\frac{\left (\sqrt{2} \sqrt{b^2-4 a c} (2 c C d-3 B c e+2 b C e) \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{\sqrt{1+\frac{2 \sqrt{b^2-4 a c} e x^2}{2 c d-b e-\sqrt{b^2-4 a c} e}}}{\sqrt{1-x^2}} \, dx,x,\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )}{3 c^2 e^2 \sqrt{\frac{c (d+e x)}{2 c d-b e-\sqrt{b^2-4 a c} e}} \sqrt{a+b x+c x^2}}+\frac{\left (2 \sqrt{2} \sqrt{b^2-4 a c} \left (2 c C d^2+C e (b d-a e)-3 c e (B d-A e)\right ) \sqrt{\frac{c (d+e x)}{2 c d-b e-\sqrt{b^2-4 a c} e}} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1-x^2} \sqrt{1+\frac{2 \sqrt{b^2-4 a c} e x^2}{2 c d-b e-\sqrt{b^2-4 a c} e}}} \, dx,x,\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )}{3 c^2 e^2 \sqrt{d+e x} \sqrt{a+b x+c x^2}}\\ &=\frac{2 C \sqrt{d+e x} \sqrt{a+b x+c x^2}}{3 c e}-\frac{\sqrt{2} \sqrt{b^2-4 a c} (2 c C d-3 B c e+2 b C e) \sqrt{d+e x} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} E\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt{\frac{c (d+e x)}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}} \sqrt{a+b x+c x^2}}+\frac{2 \sqrt{2} \sqrt{b^2-4 a c} \left (2 c C d^2+C e (b d-a e)-3 c e (B d-A e)\right ) \sqrt{\frac{c (d+e x)}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}} \sqrt{-\frac{c \left (a+b x+c x^2\right )}{b^2-4 a c}} F\left (\sin ^{-1}\left (\frac{\sqrt{\frac{b+\sqrt{b^2-4 a c}+2 c x}{\sqrt{b^2-4 a c}}}}{\sqrt{2}}\right )|-\frac{2 \sqrt{b^2-4 a c} e}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{3 c^2 e^2 \sqrt{d+e x} \sqrt{a+b x+c x^2}}\\ \end{align*}
Mathematica [C] time = 12.5869, size = 1080, normalized size = 2.29 \[ \frac{\sqrt{c x^2+b x+a} \left (-4 (2 c C d-3 B c e+2 b C e) \sqrt{\frac{c d^2+e (a e-b d)}{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}} \left (c \left (\frac{d}{d+e x}-1\right )^2+\frac{e \left (-\frac{d b}{d+e x}+b+\frac{a e}{d+e x}\right )}{d+e x}\right )+\frac{i \sqrt{2} (2 c C d-3 B c e+2 b C e) \left (2 c d-b e+\sqrt{\left (b^2-4 a c\right ) e^2}\right ) \sqrt{\frac{-\frac{2 a e^2}{d+e x}+b \left (\frac{2 d}{d+e x}-1\right ) e-2 c d \left (\frac{d}{d+e x}-1\right )+\sqrt{\left (b^2-4 a c\right ) e^2}}{2 c d-b e+\sqrt{\left (b^2-4 a c\right ) e^2}}} \sqrt{\frac{\frac{2 a e^2}{d+e x}+2 c d \left (\frac{d}{d+e x}-1\right )+b \left (e-\frac{2 d e}{d+e x}\right )+\sqrt{\left (b^2-4 a c\right ) e^2}}{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}} E\left (i \sinh ^{-1}\left (\frac{\sqrt{2} \sqrt{\frac{c d^2-b e d+a e^2}{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}}}{\sqrt{d+e x}}\right )|-\frac{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}{2 c d-b e+\sqrt{\left (b^2-4 a c\right ) e^2}}\right )}{\sqrt{d+e x}}-\frac{i \sqrt{2} \left (-2 b^2 C e^2+b \left (2 \sqrt{\left (b^2-4 a c\right ) e^2} C+3 B c e\right ) e+c \left (-6 A c e^2+2 a C e^2+\sqrt{\left (b^2-4 a c\right ) e^2} (2 C d-3 B e)\right )\right ) \sqrt{\frac{-\frac{2 a e^2}{d+e x}+b \left (\frac{2 d}{d+e x}-1\right ) e-2 c d \left (\frac{d}{d+e x}-1\right )+\sqrt{\left (b^2-4 a c\right ) e^2}}{2 c d-b e+\sqrt{\left (b^2-4 a c\right ) e^2}}} \sqrt{\frac{\frac{2 a e^2}{d+e x}+2 c d \left (\frac{d}{d+e x}-1\right )+b \left (e-\frac{2 d e}{d+e x}\right )+\sqrt{\left (b^2-4 a c\right ) e^2}}{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}} \text{EllipticF}\left (i \sinh ^{-1}\left (\frac{\sqrt{2} \sqrt{\frac{c d^2-b e d+a e^2}{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}}}{\sqrt{d+e x}}\right ),-\frac{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}{2 c d-b e+\sqrt{\left (b^2-4 a c\right ) e^2}}\right )}{\sqrt{d+e x}}\right ) (d+e x)^{3/2}}{6 c^2 e^3 \sqrt{\frac{c d^2+e (a e-b d)}{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}} \sqrt{a+x (b+c x)} \sqrt{\frac{(d+e x)^2 \left (c \left (\frac{d}{d+e x}-1\right )^2+\frac{e \left (-\frac{d b}{d+e x}+b+\frac{a e}{d+e x}\right )}{d+e x}\right )}{e^2}}}+\frac{2 C \left (c x^2+b x+a\right ) \sqrt{d+e x}}{3 c e \sqrt{a+x (b+c x)}} \]
Antiderivative was successfully verified.
[In]
Integrate[(A + B*x + C*x^2)/(Sqrt[d + e*x]*Sqrt[a + b*x + c*x^2]),x]
[Out]
(2*C*Sqrt[d + e*x]*(a + b*x + c*x^2))/(3*c*e*Sqrt[a + x*(b + c*x)]) + ((d + e*x)^(3/2)*Sqrt[a + b*x + c*x^2]*(
-4*(2*c*C*d - 3*B*c*e + 2*b*C*e)*Sqrt[(c*d^2 + e*(-(b*d) + a*e))/(-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])]*(c*
(-1 + d/(d + e*x))^2 + (e*(b - (b*d)/(d + e*x) + (a*e)/(d + e*x)))/(d + e*x)) + (I*Sqrt[2]*(2*c*C*d - 3*B*c*e
+ 2*b*C*e)*(2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2])*Sqrt[(Sqrt[(b^2 - 4*a*c)*e^2] - (2*a*e^2)/(d + e*x) - 2*c*d
*(-1 + d/(d + e*x)) + b*e*(-1 + (2*d)/(d + e*x)))/(2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2])]*Sqrt[(Sqrt[(b^2 - 4
*a*c)*e^2] + (2*a*e^2)/(d + e*x) + 2*c*d*(-1 + d/(d + e*x)) + b*(e - (2*d*e)/(d + e*x)))/(-2*c*d + b*e + Sqrt[
(b^2 - 4*a*c)*e^2])]*EllipticE[I*ArcSinh[(Sqrt[2]*Sqrt[(c*d^2 - b*d*e + a*e^2)/(-2*c*d + b*e + Sqrt[(b^2 - 4*a
*c)*e^2])])/Sqrt[d + e*x]], -((-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])/(2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2])
)])/Sqrt[d + e*x] - (I*Sqrt[2]*(-2*b^2*C*e^2 + b*e*(3*B*c*e + 2*C*Sqrt[(b^2 - 4*a*c)*e^2]) + c*(-6*A*c*e^2 + 2
*a*C*e^2 + Sqrt[(b^2 - 4*a*c)*e^2]*(2*C*d - 3*B*e)))*Sqrt[(Sqrt[(b^2 - 4*a*c)*e^2] - (2*a*e^2)/(d + e*x) - 2*c
*d*(-1 + d/(d + e*x)) + b*e*(-1 + (2*d)/(d + e*x)))/(2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2])]*Sqrt[(Sqrt[(b^2 -
4*a*c)*e^2] + (2*a*e^2)/(d + e*x) + 2*c*d*(-1 + d/(d + e*x)) + b*(e - (2*d*e)/(d + e*x)))/(-2*c*d + b*e + Sqr
t[(b^2 - 4*a*c)*e^2])]*EllipticF[I*ArcSinh[(Sqrt[2]*Sqrt[(c*d^2 - b*d*e + a*e^2)/(-2*c*d + b*e + Sqrt[(b^2 - 4
*a*c)*e^2])])/Sqrt[d + e*x]], -((-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])/(2*c*d - b*e + Sqrt[(b^2 - 4*a*c)*e^2
]))])/Sqrt[d + e*x]))/(6*c^2*e^3*Sqrt[(c*d^2 + e*(-(b*d) + a*e))/(-2*c*d + b*e + Sqrt[(b^2 - 4*a*c)*e^2])]*Sqr
t[a + x*(b + c*x)]*Sqrt[((d + e*x)^2*(c*(-1 + d/(d + e*x))^2 + (e*(b - (b*d)/(d + e*x) + (a*e)/(d + e*x)))/(d
+ e*x)))/e^2])
________________________________________________________________________________________
Maple [B] time = 0.404, size = 4251, normalized size = 9. \begin{align*} \text{output too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
int((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x)
[Out]
-1/3/c^2*(-2*C*a*c*d*e^2-2*C*x^2*c^2*d*e^2-2*C*x*a*c*e^3-4*C*2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c
*d))^(1/2)*(e*(-b-2*c*x+(-4*a*c+b^2)^(1/2))/(2*c*d-b*e+e*(-4*a*c+b^2)^(1/2)))^(1/2)*(e*(b+2*c*x+(-4*a*c+b^2)^(
1/2))/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*EllipticE(2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^
(1/2),(-(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d)/(2*c*d-b*e+e*(-4*a*c+b^2)^(1/2)))^(1/2))*c^2*d^3+3*C*2^(1/2)*(-(e*x+d
)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*(e*(-b-2*c*x+(-4*a*c+b^2)^(1/2))/(2*c*d-b*e+e*(-4*a*c+b^2)^(1/2)))
^(1/2)*(e*(b+2*c*x+(-4*a*c+b^2)^(1/2))/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*EllipticF(2^(1/2)*(-(e*x+d)*c/(
e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2),(-(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d)/(2*c*d-b*e+e*(-4*a*c+b^2)^(1/2)))^(1
/2))*a*b*e^3+6*B*2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*(e*(-b-2*c*x+(-4*a*c+b^2)^(1/2))/
(2*c*d-b*e+e*(-4*a*c+b^2)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
)/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*EllipticF(2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2
),(-(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d)/(2*c*d-b*e+e*(-4*a*c+b^2)^(1/2)))^(1/2))*(-4*a*c+b^2)^(1/2)*b*d*e^2+6*C*2
^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*(e*(-b-2*c*x+(-4*a*c+b^2)^(1/2))/(2*c*d-b*e+e*(-4*a
*c+b^2)^(1/2)))^(1/2)*(e*(b+2*c*x+(-4*a*c+b^2)^(1/2))/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*EllipticF(2^(1/2
)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2),(-(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d)/(2*c*d-b*e+e*(-4*a*c+
b^2)^(1/2)))^(1/2))*a*c*d*e^2+3*B*2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2)*(e*(-b-2*c*x+(-4
*a*c+b^2)^(1/2))/(2*c*d-b*e+e*(-4*a*c+b^2)^(1/2)))^(1/2)*(e*(b+2*c*x+(-4*a*c+b^2)^(1/2))/(e*(-4*a*c+b^2)^(1/2)
+b*e-2*c*d))^(1/2)*EllipticF(2^(1/2)*(-(e*x+d)*c/(e*(-4*a*c+b^2)^(1/2)+b*e-2*c*d))^(1/2),(-(e*(-4*a*c+b^2)^(1/
2)+b*e-2*c*d)/(2*c*d-b*e+e*(-4*a*c+b^2)^(1/2)))^(1/2))*b*c*d*e^2)*(e*x+d)^(1/2)*(c*x^2+b*x+a)^(1/2)/(c*e*x^3+b
*e*x^2+c*d*x^2+a*e*x+b*d*x+a*d)/e^3
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{C x^{2} + B x + A}{\sqrt{c x^{2} + b x + a} \sqrt{e x + d}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x, algorithm="maxima")
[Out]
integrate((C*x^2 + B*x + A)/(sqrt(c*x^2 + b*x + a)*sqrt(e*x + d)), x)
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{{\left (C x^{2} + B x + A\right )} \sqrt{c x^{2} + b x + a} \sqrt{e x + d}}{c e x^{3} +{\left (c d + b e\right )} x^{2} + a d +{\left (b d + a e\right )} x}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x, algorithm="fricas")
[Out]
integral((C*x^2 + B*x + A)*sqrt(c*x^2 + b*x + a)*sqrt(e*x + d)/(c*e*x^3 + (c*d + b*e)*x^2 + a*d + (b*d + a*e)*
x), x)
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{A + B x + C x^{2}}{\sqrt{d + e x} \sqrt{a + b x + c x^{2}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x**2+B*x+A)/(e*x+d)**(1/2)/(c*x**2+b*x+a)**(1/2),x)
[Out]
Integral((A + B*x + C*x**2)/(sqrt(d + e*x)*sqrt(a + b*x + c*x**2)), x)
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate((C*x^2+B*x+A)/(e*x+d)^(1/2)/(c*x^2+b*x+a)^(1/2),x, algorithm="giac")
[Out]
Timed out